﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RFIDStockManagement.Model.InterFace;
using RFIDStockManagement.DAL.Reports;

namespace RFIDStockManagement.BLL
{
    public class ReoportCreator
    {
        public static IReport CreateDBReporter(string key)
        {
            key = key.Trim().ToLower();
            switch (key)
            {
                case "inventory":
                    return new ReportInventory();
                case "total_stock_check":
                    return new ReportStockCheck();
                case "detail_stock_check":
                    return new ReportStockCheckDetail();
                default:
                    return new DBReportBase();
                    
            }
        }
    }
}
